StyledText.ParagraphAlignment Method

Aligns the paragraph indicated by Index. Index is zero-based.

Syntax

StyledText.ParagraphAlignment Index


Parameters

Index

Integer


Assign an alignment to ParagraphAlignment using one of the EditField's or the Paragraph's class constants. The constants are:

AlignDefault (0): Default alignment)

AlignLeft (1): Left aligned

AlignCenter (2): Centered

AlignRight (3): Right aligned

See the example for an illustration of this syntax.

Not supported with Linux EditFields.